package com.youlai.boot.factory.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

/**
 * 生产进度视图对象
 *
 * @author youlaitech
 * @since 2025-10-25
 */
@Getter
@Setter
@Schema(description = "生产进度视图对象")
public class ProductionProgressVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "工序ID")
    private Long processId;

    @Schema(description = "工序名称")
    private String processName;

    @Schema(description = "工序顺序")
    private Integer processOrder;

    @Schema(description = "已完成数量")
    private Integer completedQuantity;

    @Schema(description = "总数量")
    private Integer totalQuantity;

    @Schema(description = "进度比（已完成/总数量）")
    private String progressRatio;

    @Schema(description = "备注信息")
    private String remark;
}

